import request from '@/utils/request'

// 查询水泥试验报告列表
export function listSnsybgBsInfo(query) {
  return request({
    url: '/report_sn/snsybgBsInfo/list',
    method: 'get',
    params: query
  })
}

// 查询水泥试验报告详细
export function getSnsybgBsInfo(excelId) {
  return request({
    url: '/report_sn/snsybgBsInfo/' + excelId,
    method: 'get'
  })
}

// 新增水泥试验报告
export function addSnsybgBsInfo(data) {
  return request({
    url: '/report_sn/snsybgBsInfo',
    method: 'post',
    data: data
  })
}

// 修改水泥试验报告
export function updateSnsybgBsInfo(data) {
  return request({
    url: '/report_sn/snsybgBsInfo',
    method: 'put',
    data: data
  })
}

// 删除水泥试验报告
export function delSnsybgBsInfo(excelId) {
  return request({
    url: '/report_sn/snsybgBsInfo/' + excelId,
    method: 'delete'
  })
}
// 获取水泥试验报告-检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_sn/snsybgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
